﻿using BaseData.CommonLib.Models;
using Swimj.CommonLib.Base;

namespace BaseData.ApplicationLib.Queries
{
    public interface IMaterialQueries
    {
    
        Task<Result<IList<MaterialInfoResponseDto>>?> QueryMaterials(MaterialSearchRequestDto model);
    
        Task<PaginatedResult<MaterialInfoResponseDto>?> QueryMaterialsByPage(MaterialSearchRequestDto model);

        Task<Result<MaterialInfoResponseDto>?> GetMaterial(int key);
    }
}